Skip to content

Conversation

@gouravjshah
Copy link

This PR adds a production-ready Dockerfile for containerizing the Node.js Express front-end.

Stack: Node.js 18 (alpine)
Start command: node server.js (npm start)
Port: 8079 (exposed)

Build & run:

  • docker build -t devops-frontend:latest .
  • docker run -e PORT=8079 -p 8079:8079 devops-frontend:latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants